﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using WpfApp7.Command;

namespace WpfApp7.ViewModels
{
    public class MyCommandTargetViewModel:ObservableObject
    {
        public PdyCommand<FrameworkElement> HelloCommand { get; set; }
        public MyCommandTargetViewModel()
        {
            HelloCommand = new PdyCommand<FrameworkElement>(sender =>
            {
                _ = MessageBox.Show(sender.ToString());
            });
        }
    }
}
